package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;
import java.util.List;

/**
 * @author: 20918
 * @date: 2025/10/9 16:34
 * @description:
 */
public interface CourseService {
    PageResult<Course> list(CourseDTO courseDTO);

    void addCourse(Course course);

    void update(Course course);

    Course selectById(Integer id);

    void deleteById(Integer id);

    List<Course> all();

    List<Course> listBySubject(String subject);
}
